#include "stdio.h"
#include "no2.h"

struct data
{
	double x = 0, y = 0, d = 0;
	char f = 0;
} data1;

int main() {
	for (int p = 1; p; p = _pan()) {
		if (p == 1) {
			(data1 = _input(), data1 = _xuan(data1), _print(data1));
		}
		else if (p == 2) {
			char c;
			while ((c = getchar()) != EOF && c != '\n');
			(data1.x = data1.d, data1 = _input2(data1), data1 = _xuan(data1), _print(data1));
		}
	}
	return 0;
}